var util = require('util');
/**
 * 将任意字符串转换成字符串
 */
function Person() {
  this.name = 'andy';
  this.getName = function() {
    return this.name;
  };
}

var obj = new Person();
console.info(util.inspect(obj));
console.info(util.inspect(obj, true));
